アプリリリース用の keytool による秘密鍵の取得 (Obtaining a private key through the keytool for app release)


問題の説明

アプリリリース用の keytool による秘密鍵の取得 (Obtaining a private key through the keytool for app release)

JDK の keytool を使用して適切な鍵を生成する方法を順を追って説明しているオンラインのチュートリアルが見つかりません。

これ:

http:/ /developer.android.com/guide/publishing/app‑signing.html

それについて話し、コマンドを与えますが、実際には、どこに、どのフォルダーにキーを入力するかは述べていませんコマンド。ここで何か簡単なことを見逃していると思いますが、どこから始めるべきか教えてもらえますか?


リファレンスソリューション

方法 1:

Run all of these commands in a command prompt. I am assuming you are using a windows machine to develop with.

Start ‑‑> Run ‑‑> cmd

type: java ‑version

You should either get a version number returned like "Java v1.62" or similar or an error "not found"

If you get the version returned on the next line then you can run the keytool command from the prompt you are currently on.

If you get a "not found" error then cd/ into the jdk folder where the keytool command is found. Run the commands from the prompt found here.

I really reccommend using eclipse to develop. Eclipse, as part of exporting and signing your app, will create a new keystore from a GUI. Real simple and easy.

(by SappPhobos)

リファレンスドキュメント

  1. Obtaining a private key through the keytool for app release (CC BY‑SA 3.0/4.0)

#signing #java #key #Android






関連する質問

Google アクセス トークンを使用してユーザー プロファイルを取得するにはどうすればよいですか (How do I get user profile using Google Access Token)

コード署名ツールでMac開発者証明書を使用してJavaアプリケーションに署名するにはどうすればよいですか? (How to use Mac Developer Certificate with codesign tool to sign Java application?)

apk の署名中にエラーが発生しました: 見つかりません (Error during signing apk: unable to find)

JwtSecurityTokenHandler.CreateToken で署名するときに「無効なアルゴリズムが指定されました」 ("Invalid algorithm specified" when signing with JwtSecurityTokenHandler.CreateToken)

アセンブリの FullName プロパティのチェックを無効にできますか? 厳密な命名を使用せずに同様のチェックを実行できますか? (Can a check on the FullName property of an assembly be defeated? Can a similar check be performed without the use of strong naming?)

Cordova Build.json のパスワード セキュリティ (Cordova Build.json password security)

アプリリリース用の keytool による秘密鍵の取得 (Obtaining a private key through the keytool for app release)

android bundleRelease は aab に署名しません (android bundleRelease does not sign the aab)

証明書に iOS 署名証明書を作成する (create ios signing certificate in my certificates)

APKに署名する必要がある理由は何ですか? (What reasons does it have to sign apk?)

signtool.exe エラー: Excel マクロの署名時に SignerSign() が失敗しました (-2147220492/0x800403f4) (signtool.exe Error: SignerSign() failed (-2147220492/0x800403f4) when signing Excel Macro)

署名付き URL のこの実装は、かなり安全ですか? (Is this implementation of signed URLs reasonably secure?)







コメント